import { GET_USER_INFO } from  '../actionTypes'
const initState={}
export default function user(state=initState,action){
    // console.log('user',state,action);
    if(action.type===GET_USER_INFO){
        return action.payload
    }
    return state
}